package com.inno.life.domain.convert;
import com.inno.life.domain.entity.MomentCommentBO;
import com.inno.life.infra.basic.entity.PlannerMomentComment;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface MomentCommentConverter {
    MomentCommentConverter INSTANCE = Mappers.getMapper(MomentCommentConverter.class);

    PlannerMomentComment convertBOToEntity(MomentCommentBO momentCommentBO);

    MomentCommentBO convertEntityToBO(PlannerMomentComment comment);

    List<MomentCommentBO> convertEntityListToBOList(List<PlannerMomentComment> entityList);
}
